翻訳と辞書
Words near each other
・ Racovița, Sibiu
・ Racovița, Timiș
・ Racovița, Vâlcea
・ Racovițeni
・ Racoviță
・ Racovăț
・ Racovăț (disambiguation)
・ Racovăț River
・ Racovăț River (Coșuștea)
・ RacoWireless
・ Racoș
・ Racoș (disambiguation)
・ Rack (billiards)
・ RACK (disambiguation)
・ Rack (torture)
Rack (web server interface)
・ Rack and pinion
・ Rack card
・ Rack City
・ Rack Hill
・ Rack lift
・ Rack of lamb
・ Rack phase difference
・ RACK protein
・ Rack rail
・ Rack railway
・ Rack Room Shoes
・ Rack unit
・ Rack-O
・ Rack-rent


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Rack (web server interface) : ウィキペディア英語版
Rack (web server interface)

Rack provides a modular and adaptable interface for developing web applications in Ruby. By wrapping HTTP requests and responses it unifies the API for web servers, web frameworks, and software in between (the so-called middleware) into a single method call.
Rack is used by many Ruby web frameworks and libraries, such as Ruby On Rails and Sinatra. It is available as a Ruby Gem.
Rack has already inspired a JavaScript framework〔(jack - introduction ). Jackjs.org. Retrieved on 2013-09-20.〕 (jackjs) and a Perl one (Plack), a Common Lisp one〔(clacklisp.org ). Retrieved on 2014-10-17.〕 (Clack), and has resulted in the Ruby developer quasi-standard of "rack-compliant".〔(Pancake: How To Stack and Loosely Couple Rack-Based Webapps Together ). Rubyinside.com (2009-12-04). Retrieved on 2013-09-20.〕
It was also cited as an inspiration for OWIN.〔http://www.asp.net/aspnet/overview/owin-and-katana/an-overview-of-project-katana. Asp.net. Retrieved on 2014-10-01.〕
==Example application==
A Rack-compatible "Hello World" application in Ruby syntax:

app = lambda do |env|
body = "Hello, World!"
[200, , [body]]
end
run app


抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Rack (web server interface)」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.